package per.ace.configuration;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import per.ace.configuration.demo.Example;

import java.util.Properties;

/**
 * @program: springbootDemo
 * @description:
 * @author: ace
 * @Date: 2019-12-29 13:48
 **/
@SpringBootApplication
public class ConfigurationBootStrap {
    public static void main(String[] args) {
        //SpringApplication.run(ConfigurationBootStrap.class,args);
        SpringApplication springApplication = new SpringApplication(Example.class);
        springApplication.setAdditionalProfiles();
        Properties properties = new Properties();
        properties.setProperty("height","184");
        springApplication.setDefaultProperties(properties);
        springApplication.run(args);
    }
}
